
.new-home-layout {
  min-height: 100vh;
  position: relative;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

/* 英雄区域样式 */
.hero-section {
  padding: 80px 0;
  color: white;
  text-align: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-title {
  color: white !important;
  font-size: 48px !important;
  margin-bottom: 24px !important;
}

.hero-description {
  color: rgba(255,255,255,0.9) !important;
  font-size: 20px !important;
  margin-bottom: 40px !important;
  max-width: 800px;
  margin: 0 auto 40px !important;
}

.search-container {
  background: transparent;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-button {
  background: #52c41a !important;
  border-color: #52c41a !important;
}

/* 轮播图区域样式 - 优化后 */
.carousel-section {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
}

.carousel-container {
  max-width: 1600px; /* 从1400px增加到1600px */
  margin: 0 auto;
  padding: 0 32px; /* 从24px增加到32px，确保两边有足够距离 */
}

.carousel-header {
  text-align: center;
  margin-bottom: 60px;
}

.carousel-description {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 自定义轮播图样式 - 优化后 */
.custom-carousel {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
}

.custom-carousel .ant-carousel .ant-carousel-content {
  height: 700px; /* 增加高度 */
}

/* 轮播图箭头样式 - 修复颜色问题 */
.custom-carousel .ant-carousel .slick-prev,
.custom-carousel .ant-carousel .slick-next {
  width: 60px;
  height: 60px;
  z-index: 10;
  opacity: 0.8;
}

.custom-carousel .ant-carousel .slick-prev {
  left: 30px;
}

.custom-carousel .ant-carousel .slick-next {
  right: 30px;
}

.custom-carousel .ant-carousel .slick-prev:before,
.custom-carousel .ant-carousel .slick-next:before {
  font-size: 28px;
  color: #1890ff !important; /* 修改为蓝色 */
  background: rgba(255, 255, 255, 0.9) !important; /* 白色背景 */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.custom-carousel .ant-carousel .slick-prev:hover:before,
.custom-carousel .ant-carousel .slick-next:hover:before {
  background: rgba(255, 255, 255, 1) !important;
  color: #0050b3 !important;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* 轮播图指示点样式 - 优化 */
.custom-carousel .ant-carousel .slick-dots {
  bottom: 30px;
  z-index: 10;
}

.custom-carousel .ant-carousel .slick-dots li button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6) !important;
  border: 2px solid #1890ff;
}

.custom-carousel .ant-carousel .slick-dots li.slick-active button {
  background: #1890ff !important;
  transform: scale(1.2);
}

/* 轮播图卡片样式 - 重新设计 */
.carousel-slide {
  height: 700px;
  display: flex !important;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.carousel-image {
  width: 100%;
  height: 70%; /* 图片占70%高度 */
  object-fit: cover;
}

.carousel-content {
  width: 100%;
  height: 30%; /* 文字内容占30%高度 */
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  text-align: center;
}

.carousel-title {
  margin-bottom: 15px !important;
  color: #1f1f1f !important;
  font-size: 32px !important;
  font-weight: bold;
}

.carousel-description-text {
  font-size: 18px !important;
  color: #666 !important;
  margin-bottom: 20px !important;
  line-height: 1.6;
}

.carousel-button {
  height: 48px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: 24px;
  align-self: center;
  background: #1890ff;
  border-color: #1890ff;
}

.carousel-button:hover {
  background: #0050b3;
  border-color: #0050b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 统计数据区域样式 */
.stats-section {
  padding: 40px 0;
  background: rgba(250, 250, 250, 0.95);
}

.stats-container {
  max-width: 1600px; /* 从1400px增加到1600px */
  margin: 0 auto;
  padding: 0 32px; /* 从24px增加到32px */
}

.stats-card {
  text-align: center;
  height: 100%;
  border-radius: 12px;
}

.last-update-card {
  margin-bottom: 8px;
}

.last-update-text {
  font-size: 24px;
  font-weight: bold;
  color: #fa8c16;
}

/* 功能特性区域样式 */
.features-section {
  padding: 50px 0;
  background: rgba(255, 255, 255, 0.95);
}

.features-container {
  max-width: 1600px; /* 从1400px增加到1600px */
  margin: 0 auto;
  padding: 0 32px; /* 从24px增加到32px */
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-description {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.feature-card {
  height: 100%;
  text-align: center;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
}

.feature-card-body {
  padding: 32px 24px;
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-title {
  margin-bottom: 16px !important;
}

.feature-description {
  color: #666;
  margin-bottom: 20px;
}

/* 数据可用性区域样式 */
.availability-section {
  padding: 50px 0;
  background: rgba(250, 250, 250, 0.95);
}

.availability-container {
  max-width: 1600px; /* 从1400px增加到1600px */
  margin: 0 auto;
  padding: 0 32px; /* 从24px增加到32px */
}

.availability-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.availability-item {
  margin-bottom: 16px;
}

.availability-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.chart-placeholder {
  height: 300px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* 最新动态区域样式 - 优化时间线对齐 */
.news-section {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
}

.news-container {
  max-width: 1600px; /* 从1400px增加到1600px */
  margin: 0 auto;
  padding: 0 32px; /* 从24px增加到32px */
}

.news-header {
  text-align: center;
  /* margin-bottom: 60px; */
}

.news-description {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 横向时间线样式 - 优化对齐 */
.news-timeline-wrapper {
  position: relative;
  margin-top: 40px;
}

.news-timeline-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 30px; */
}

.timeline-nav-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1890ff;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.timeline-nav-button:hover:not(:disabled) {
  background: #0050b3;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4);
}

.timeline-nav-button:disabled {
  background: #d9d9d9;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.news-timeline-container {
  position: relative;
  overflow: hidden;
  padding: 0 0 40px 0; /* 增加上边距为时间线留出空间 */
}

.news-timeline {
  display: flex;
  gap: 40px;
  transition: transform 0.5s ease;
  position: relative;
  align-items: flex-start; /* 确保项目顶部对齐 */
  z-index: 3;
}

.news-timeline-container::before { /* **注意选择器：现在是作用于 news-timeline-container** */
  content: '';
  position: absolute;
  top: 60px; /* 距离 news-timeline-container 顶部的固定位置 */
  left: 0; /* **从 news-timeline-container 的最左边开始** */
  width: 100%; /* **宽度填充 news-timeline-container 的整个宽度** */
  height: 6px;
  background: linear-gradient(90deg, #1890ff 0%, #52c41a 30%, #722ed1 70%, #fa8c16 100%);
  border-radius: 3px;
  z-index: 1; /* 确保它在卡片内容下方（如果卡片有背景色）或上方 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


/* 时间线主线 - 重新定位 */


.timeline-item {
  position: relative;
  width: 320px; /* 设置固定宽度，从min-width: 350px改为固定width */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 时间线节点 - 重新定位 */
.timeline-node {
  position: absolute;
  top: 52px; /* 与主线对齐 */
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 5px solid #1890ff;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.timeline-node:hover {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.timeline-node.active {
  border-color: #52c41a;
  background: #52c41a;
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}

.timeline-node.featured {
  border-color: #722ed1;
  background: #722ed1;
  width: 28px;
  height: 28px;
  top: 49px; /* 调整位置保持居中 */
  box-shadow: 0 4px 12px rgba(114, 46, 209, 0.4);
}

.timeline-node.featured:hover {
  transform: translateX(-50%) scale(1.15);
}

/* 时间标签 - 重新定位 */
.timeline-date {
  position: absolute;
  top: 10px; /* 距离顶部的固定位置 */
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1890ff, #0050b3);
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 4;
  box-shadow: 0 3px 10px rgba(24, 144, 255, 0.3);
  border: 2px solid white;
}

.timeline-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border: 1px solid #f0f0f0;
  margin-top: 90px; /* 为时间线节点和日期留出空间 */
  transition: all 0.3s ease;
  height: 300px; /* 增加高度以适应换行文本 */
  width: 100%; /* 确保卡片填满容器宽度 */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box; /* 确保padding包含在宽度内 */
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1890ff, #52c41a);
  border-radius: 16px 16px 0 0;
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.timeline-card .news-meta {
  margin-bottom: 16px;
  margin-top: 8px;
}

.timeline-card .news-title {
  margin-bottom: 12px !important;
  font-size: 16px !important; /* 稍微减小字体以适应固定宽度 */
  line-height: 1.4;
  color: #1f1f1f;
  font-weight: 600;
  word-wrap: break-word; /* 强制长单词换行 */
  overflow-wrap: break-word; /* 现代浏览器的换行属性 */
  hyphens: auto; /* 自动断字 */
}

.timeline-card .news-content {
  color: #666;
  margin-bottom: 16px;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* 增加显示行数从3行到4行 */
  -webkit-box-orient: vertical;
  line-height: 1.5;
  word-wrap: break-word; /* 强制长单词换行 */
  overflow-wrap: break-word; /* 现代浏览器的换行属性 */
  hyphens: auto; /* 自动断字 */
  font-size: 14px; /* 设置合适的字体大小 */
}

/* 滚动条样式 */
.news-timeline-container::-webkit-scrollbar {
  height: 8px;
}

.news-timeline-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.news-timeline-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #1890ff, #52c41a);
  border-radius: 4px;
}

.news-timeline-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #0050b3, #389e0d);
}

/* 原有卡片样式保留 */
.news-card {
  height: 100%;
  border-radius: 12px;
}

.news-card-body {
  padding: 24px;
}

.news-meta {
  margin-bottom: 16px;
}

.news-title {
  margin-bottom: 12px !important;
}

.news-content {
  color: #666;
  margin-bottom: 16px;
}

/* 快速访问区域样式 */
.quick-access-section {
  padding: 50px 0;
  background: rgba(240, 242, 245, 0.95);
}

.quick-access-container {
  max-width: 1600px; /* 从1400px增加到1600px */
  margin: 0 auto;
  padding: 0 32px; /* 从24px增加到32px */
}

.quick-access-header {
  text-align: center;
  margin-bottom: 60px;
}

.quick-access-description {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.quick-access-card {
  height: 100%;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.quick-access-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.quick-access-card-body {
  padding: 40px 24px;
}

.quick-access-icon {
  margin-bottom: 24px;
}

.quick-access-title {
  margin-bottom: 16px !important;
}

.quick-access-description-text {
  color: #666;
  margin-bottom: 24px;
}

/* 搜索表单美化样式 */
.custom-select .ant-select-selector {
  border-radius: 8px !important;
  border: 2px solid #e8e8e8 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.custom-select .ant-select-selector .ant-select-selection-item {
  text-align: left !important;
}

.custom-select .ant-select-selector .ant-select-selection-placeholder {
  text-align: left !important;
}

.custom-select .ant-select-selector:hover {
  border-color: #40a9ff !important;
  box-shadow: 0 4px 12px rgba(64, 169, 255, 0.15) !important;
}

.custom-select.ant-select-focused .ant-select-selector {
  border-color: #1890ff !important;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2) !important;
}

.custom-autocomplete .ant-input {
  border-radius: 8px !important;
  border: 2px solid #e8e8e8 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  text-align: left !important;
}

.custom-autocomplete .ant-input:hover {
  border-color: #40a9ff !important;
  box-shadow: 0 4px 12px rgba(64, 169, 255, 0.15) !important;
}

.custom-autocomplete .ant-input:focus {
  border-color: #1890ff !important;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2) !important;
}

.custom-date-picker .ant-picker {
  border-radius: 8px !important;
  border: 2px solid #e8e8e8 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.custom-date-picker .ant-picker:hover {
  border-color: #40a9ff !important;
  box-shadow: 0 4px 12px rgba(64, 169, 255, 0.15) !important;
}

.custom-date-picker .ant-picker.ant-picker-focused {
  border-color: #1890ff !important;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2) !important;
}

/* 表单标签样式 */
.ant-form-item-label > label {
  font-weight: 500 !important;
  color: #333 !important;
  font-size: 14px !important;
}

/* 搜索按钮悬停效果 */
.ant-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4) !important;
  transition: all 0.3s ease !important;
}

/* 重置按钮悬停效果 */
.ant-btn:not(.ant-btn-primary):hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
}

/* 模糊搜索按钮样式 */
.ant-btn[style*="background: #1890ff"] {
  color: white !important;
  transition: all 0.3s ease !important;
}

.ant-btn[style*="background: #1890ff"]:hover {
  background: #096dd9 !important;
  transform: scale(1.05) !important;
}

.ant-btn[style*="background: #f5f5f5"]:hover {
  background: #e6f7ff !important;
  border-color: #91d5ff !important;
  color: #1890ff !important;
  transform: scale(1.05) !important;
}

/* 表单卡片动画效果 */
.ant-card {
  transition: all 0.3s ease !important;
}

.ant-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .search-container {
    padding: 20px !important;
    margin: 0 16px !important;
  }
  
  .ant-card {
    padding: 16px !important;
  }
  
  .ant-form-item {
    margin-bottom: 16px !important;
  }

  .hero-title {
    font-size: 36px !important;
  }
  
  .hero-description {
    font-size: 16px !important;
  }
  
  .carousel-container {
    max-width: 100%;
    padding: 0 16px;
  }
  
  .custom-carousel .ant-carousel .ant-carousel-content {
    height: 500px;
  }
  
  .carousel-slide {
    height: 500px;
  }
  
  .carousel-image {
    height: 60%;
  }
  
  .carousel-content {
    height: 40%;
    padding: 20px;
  }
  
  .carousel-title {
    font-size: 24px !important;
  }
  
  .carousel-description-text {
    font-size: 14px !important;
  }
  
  .timeline-item {
    min-width: 280px;
  }
  
  .timeline-card {
    height: 250px;
    padding: 20px;
    margin-top: 80px;
  }
  
  .timeline-nav-button {
    width: 40px;
    height: 40px;
  }
  
  .news-timeline::before {
    left: 140px;
    width: calc(100% - 280px);
  }
  
  .timeline-date {
    font-size: 11px;
    padding: 4px 12px;
  }
}

/* 响应式设计 - 更新移动端padding */
@media (max-width: 768px) {
  .search-container {
    padding: 20px 16px !important; /* 移动端保持较小的边距 */
    margin: 0 16px !important;
  }
  
  .ant-card {
    padding: 16px !important;
  }
  
  .ant-form-item {
    margin-bottom: 16px !important;
  }

  .hero-title {
    font-size: 36px !important;
  }
  
  .hero-description {
    font-size: 16px !important;
  }
  
  .carousel-container {
    max-width: 100%;
    padding: 0 16px;
  }
  
  .custom-carousel .ant-carousel .ant-carousel-content {
    height: 500px;
  }
  
  .carousel-slide {
    height: 500px;
  }
  
  .carousel-image {
    height: 60%;
  }
  
  .carousel-content {
    height: 40%;
    padding: 20px;
  }
  
  .carousel-title {
    font-size: 24px !important;
  }
  
  .carousel-description-text {
    font-size: 14px !important;
  }
  
  .timeline-item {
    min-width: 280px;
  }
  
  .timeline-card {
    height: 250px;
    padding: 20px;
    margin-top: 80px;
  }
  
  .timeline-nav-button {
    width: 40px;
    height: 40px;
  }
  
  .news-timeline::before {
    left: 140px;
    width: calc(100% - 280px);
  }
  
  .timeline-date {
    font-size: 11px;
    padding: 4px 12px;
  }
}

/* 中等屏幕尺寸的响应式调整 */
@media (max-width: 1200px) and (min-width: 769px) {
  .carousel-container,
  .stats-container,
  .features-container,
  .availability-container,
  .news-container,
  .quick-access-container,
  .search-container {
    padding: 0 24px; /* 中等屏幕使用中等padding */
  }
}